package com.example.entity.authcenter.cscec5b;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 外部系统组织实体类
 * @author connor.h.liu
 * @date 2019/6/18 9:17
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ExternalSystemOrganizationDTO {

    /**
     * 父级组织id
     */
    private String parentId;

    /**
     * 组织主键id
     */
    private String organizationId;

    /**
     * 纳税人登记号
     */
    private String taxLicense;

    /**
     * 组织编码
     */
    private String organizationCode;

    /**
     * 公司名称
     */
    private String organizationFullName;

    @JSONField(name = "fathercorp")
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    @JSONField(name = "pkCorp")
    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    @JSONField(name = "taxcode")
    public void setTaxLicense(String taxLicense) {
        this.taxLicense = taxLicense;
    }

    @JSONField(name = "unitcode")
    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    @JSONField(name = "unitname")
    public void setOrganizationFullName(String organizationFullName) {
        this.organizationFullName = organizationFullName;
    }
}
